package cn.echase.ecare.yinfayun.domain.entity.base;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * @Author: zhangbei@echase.cn
 * @Title: BaseEntity
 * @ProjectName: ecare-soft
 * @Description: model基础信息对象
 * @Date: 2023/08/28 14:50
 */
@Data
public class YinFaYunEntity implements Serializable {
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm", timezone = "GMT+8")
    private Date addTime;


    /**
     * 创建人
     */
    private String createBy;


    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm", timezone = "GMT+8")
    private Date updateTime;

    /**
     * 更新人
     */
    private String updateBy;

    /**
     * 备注信息
     */
    private String remark;


    /**
     * 逻辑删除 0 未删除 1删除
     */
    private Integer deleted;

    /**
     * 请求参数
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}
